/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package UserInterface;

import java.awt.Canvas;

/**
 *
 * @author subx
 */
public class LineShape extends Shape {

    private int startX;
    private int startY;
    private int endX;
    private int endY;

    /**
     * Get the value of endY
     *
     * @return the value of endY
     */
    public int getEndY() {
        return endY;
    }

    /**
     * Set the value of endY
     *
     * @param endY new value of endY
     */
    public void setEndY(int endY) {
        this.endY = endY;
    }

    /**
     * Get the value of endX
     *
     * @return the value of endX
     */
    public int getEndX() {
        return endX;
    }

    /**
     * Set the value of endX
     *
     * @param endX new value of endX
     */
    public void setEndX(int endX) {
        this.endX = endX;
    }

    /**
     * Get the value of startY
     *
     * @return the value of startY
     */
    public int getStartY() {
        return startY;
    }

    /**
     * Set the value of startY
     *
     * @param startY new value of startY
     */
    public void setStartY(int startY) {
        this.startY = startY;
    }

    /**
     * Get the value of startX
     *
     * @return the value of startX
     */
    public int getStartX() {
        return startX;
    }

    /**
     * Set the value of startX
     *
     * @param startX new value of startX
     */
    public void setStartX(int startX) {
        this.startX = startX;
    }

    @Override
    public void draw(Canvas c) {
        
        throw new UnsupportedOperationException("Not supported yet.");
    }

}
